package com.fp.m7.generator;

public class Random {
	private final int step = 317;
	private int counter;

	public int nextInt(int max) {
		return (++counter * step) % max;
	}
}